export interface AnyObject {
  [key: string]: unknown;
}

export interface Options {
  value: unknown;
  label: string;
}

export interface NodeOptions extends Options {
  children?: NodeOptions[];
}

export interface GetParams {
  body: null;
  type: string;
  url: string;
}

export interface PostData {
  body: string;
  type: string;
  url: string;
}

export interface page {
  total: number;
  size: number;
  current: 1;
  orders: [];
  records: [];
  pages: number;
}
export interface Result<T> {
  data: T;
  msg: string;
  code: number;
}
